package cn.hicard.risk.service.limit.impl;

import java.util.List;

import org.springframework.stereotype.Service;

import cn.hicard.risk.dao.limit.LimitMerchDao;
import cn.hicard.risk.entity.LimitMerch;
import cn.hicard.risk.service.limit.LimitMerchService;

@Service
public class LimitMerchServiceImpl implements LimitMerchService{

	private LimitMerchDao limitMerchDao;
	
		
	public void setLimitMerchDao(LimitMerchDao limitMerchDao) {
		this.limitMerchDao = limitMerchDao;
	}

	@Override
	public List<LimitMerch> findLimitMerch() throws Exception {
		// TODO Auto-generated method stub
		return limitMerchDao.findLimitMerch();
	}

	public List<LimitMerch> findCallList(LimitMerch merch)throws Exception {
		return limitMerchDao.findCallList(merch);
	}
	
	public LimitMerch getOne(LimitMerch merch) throws Exception {
		return limitMerchDao.getOne(merch);
	}
	public List<String> findPeriodList(LimitMerch merch) throws Exception {
		return limitMerchDao.findPeriodList(merch);
	}
}
